//package com.plian.system.controller.fr.bank;
//
//
//import com.plian.system.dto.fr.bank.BankOrgStorageDTO;
//import com.plian.system.model.R;
//import com.plian.system.service.fr.bank.IBankOrgStorageService;
//import com.plian.system.vo.report.ChartsVO;
//import com.plian.system.vo.report.ReportReturnVO;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import lombok.AllArgsConstructor;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//
///**
// * @Author: Take-off
// * @Description: //TODO 银行信息暂存
// * @Date: 1:38 PM 2022/8/24
// * @Param:
// * @return:
// **/
//@Slf4j
//@RestController
//@AllArgsConstructor
//@RequestMapping("api/bankOrgStorage")
//@Api(value = "银行信息暂存", tags = "银行信息暂存接口")
//public class BankOrgStorageController {
//
//    private IBankOrgStorageService bankOrgStorageService;
//
//    @PostMapping("/init-data")
//    @ApiOperation(value = "初始化银行信息暂存", notes = "")
//    public R initData() {
//        bankOrgStorageService.saveFinancingCostRateInit();
//        bankOrgStorageService.saveOtherInit();
//        return R.success();
//    }
//
//    @PostMapping(value = "/storage-trend")
//    @ApiOperation(value = "融资分析折线图", notes = "传入DTO信息")
//    public R<ChartsVO> getStorageTrend(@RequestBody BankOrgStorageDTO dto) {
//        return R.data(bankOrgStorageService.getStorageTrend(dto));
//    }
//
//    @PostMapping(value = "/storage-report")
//    @ApiOperation(value = "融资分析报表", notes = "传入DTO信息")
//    public R<ReportReturnVO> getStorageReport(@RequestBody BankOrgStorageDTO dto) {
//        return R.data(bankOrgStorageService.getStorageReport(dto));
//    }
//}
